Skip to main content
0 votes
2 answers
117 views

In PostgreSql there is a table with a column of type 'bytea' with jpeg. In pgAdmin this column is displayed as [binary data]. In php script I need to get binary data from this column and translate it ...
proa's user avatar
  • 13
0 votes
1 answer
60 views

My PHP web app is crashing upon calling pg_connect when running on my Mac OS X machine ( it does not crash from a RHEL8 server ). It's only happening when: Connecting to a PostgreSQL 15 database ...
alessandro ferrucci's user avatar
1 vote
1 answer
72 views

If pg_field_type() makes a call to database in any way, it can be expensive. If not, it is "cheap" in the boundaries of being cheap in PHP. So the question is, will calling pg_field_type() ...
Meglio's user avatar
  • 1,795
0 votes
1 answer
340 views

I'm trying to load a php environment with Laragon in Windows 10. When I start Apache, in php_errors.log file I get this warnings: [13-Sep-2024 01:03:32 UTC] PHP Warning: PHP Startup: Unable to load ...
Tuxman's user avatar
  • 408
0 votes
2 answers
2k views

I am currently in the process of trying to integrate a PostgreSQL database into a PHP application. When I run php -m, it lists a very long list of extensions/modules which are allegedly installed, ...
Fonkin Stubbleduck's user avatar
2 votes
2 answers
123 views

From the documentation it is not clear to me what exactly pg_query_params does when non string parameters are given. pg_query_params (PHP 5 >= 5.1.0, PHP 7, PHP 8) pg_query_params — Submits a ...
George Kourtis's user avatar
0 votes
1 answer
212 views

need to extract file extensions from the file_path column from my PostgreSQL table. kindly help me to achieve to extract the distinct file extensions as list using select query. have table like this ...
Vijayaragavan Ambalam's user avatar
1 vote
0 answers
126 views

I host my PHP page in Windows IIS, Uncommented the pgsql extensions in php.ini file, restarted the services/machine. stil getting the below error in my php page, Connection failed. Error message: ...
Vignesh's user avatar
  • 21
0 votes
1 answer
1k views

It is not possible for me to install the php-pgsql (virtual) module in a cointainer based on the official image wordpress:8.2 In theory, as the container runs a debian12 bookworm code shouldn't be ...
ndrini's user avatar
  • 103
0 votes
1 answer
218 views

I wanted to write a simple forum site with PHP that can be configured to use MySQL or PostgreSQL. Currently there are PDO, but I don't know OOP and I don't want to learn it. I have an idea about a ...
user avatar
0 votes
1 answer
810 views

The setup works like this: There is a Database Class and a Utils Class The scripts initialize an instance of the Utils Class which initializes the DatabaseConnection instance (I assume that its got ...
jqlifice's user avatar
1 vote
1 answer
9k views

I'm using Codespaces to develop my project but for some reason I've had a lot of problems to install the pdo_pgsql driver to use Postgress with my symfony project. Finally, I've found a solution that ...
Adrián's user avatar
  • 11
0 votes
0 answers
40 views

I have table called tickets with p.k. id and ticket number (i.e. TK0001) I am using a laravel and for some reason I am required to get the ticket_number as id in response. Below is my query SELECT ...
Punit Gajjar's user avatar
  • 5,007
0 votes
0 answers
34 views

I have a project to do in PHP (MVC) with my university. Unfortunately, I've been stuck for a week, and nobody in the university knows where the problem is. Error Fatal error: Uncaught ...
aa aa's user avatar
  • 1
1 vote
0 answers
341 views

I am using cwp on my VPS and I have this problem when I try to login to https://hostname:2031/phpPgAdmin/ The PHP configuration on this server does not support PostgreSQL. You need to reinstall PHP ...
ibrahim shazly's user avatar

15 30 50 per page
1
2 3 4 5
7