Anon
07-23-2001, 07:19 PM
I am having a problem with PHP and MySQL on my webserver.
Originally PHP was installed with only MySQL and everything worked fine, but recently we needed graphics support so I reinstalled it with GD. The graphics stuff works fine, but MySQL is now playing up. Whenever a query is executed the query is processed fine, everything is correct accourding to the database, but PHP reports an error "Cannot save result set" or something similar.
I do use mysql_auth, and searching around for similar problems tells me that there is a conflict occuring and I should recompile PHP using the MySQL shared libraries, which is what I have done, it's what I have always done, and it is still occuring.
My configure settings are as follows:
"./configure" \
"--with-mysql=/usr" \
"--enable-track-vars" \
"--with-apxs" \
"--with-gd=/usr/local" \
"--with-config-file-path=/etc/httpd" \
"$@"
and I get no configure or compile errors. So if you can help that would be great. I'm stuck.
Originally PHP was installed with only MySQL and everything worked fine, but recently we needed graphics support so I reinstalled it with GD. The graphics stuff works fine, but MySQL is now playing up. Whenever a query is executed the query is processed fine, everything is correct accourding to the database, but PHP reports an error "Cannot save result set" or something similar.
I do use mysql_auth, and searching around for similar problems tells me that there is a conflict occuring and I should recompile PHP using the MySQL shared libraries, which is what I have done, it's what I have always done, and it is still occuring.
My configure settings are as follows:
"./configure" \
"--with-mysql=/usr" \
"--enable-track-vars" \
"--with-apxs" \
"--with-gd=/usr/local" \
"--with-config-file-path=/etc/httpd" \
"$@"
and I get no configure or compile errors. So if you can help that would be great. I'm stuck.