
Hey, On my development laptop I had SuSE 9.1 (with KDE 3.4) and I upgraded it to SuSE 9.3. Everything was ok except PHP<->MySQL connections: PHP 4.3.10 could not connect to MySQL 4.1. I installed php4-mysql extension from yast but it was still broken. Then I removed all php4 packages from yast and installed php5 with mysqli extension. Now it's worse: Apache complains about syntax errors in its config files and serves my php code as text files, duh! What should I do? -- NSK http://portal.wikinerds.org

On Thursday 28 April 2005 16:12, NSK wrote:
Now it's worse: Apache complains about syntax errors in its config files and serves my php code as text files, duh!
I solved the problem. Here's what I did (for anyone who may face the same problem): 1. After uninstalling php4 and installing php5 via yast, apache config files are not updated. you need to configure via yast the httpd in netservices to allow php scripting and click expert configuration to enable the mod-php5 module and disable the mod-php4 module. mysql works ok too. -- NSK http://portal.wikinerds.org

On Thu, Apr 28, 2005 at 04:12:35PM +0300, NSK wrote:
Hey,
On my development laptop I had SuSE 9.1 (with KDE 3.4) and I upgraded it to SuSE 9.3.
Everything was ok except PHP<->MySQL connections: PHP 4.3.10 could not connect to MySQL 4.1.
I installed php4-mysql extension from yast but it was still broken.
Then I removed all php4 packages from yast and installed php5 with mysqli extension.
Now it's worse: Apache complains about syntax errors in its config files and serves my php code as text files, duh!
Which syntax errors?
What should I do?
...Please give an exact example, so it is possible to help you specifically. Peter -- the little cardinal got the little can of spam

On Tue, May 10, 2005 at 01:29:01PM +0200, Peter Poeml wrote:
Now it's worse: Apache complains about syntax errors in its config files and serves my php code as text files, duh!
Which syntax errors?
What should I do?
...Please give an exact example, so it is possible to help you specifically.
Ignore my email. Meanwhile I saw your reply containing the solution. Peter -- the little can of spam imitated the pink cardinal
participants (2)
-
NSK
-
poeml@cmdline.net