Changing apache user

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Changing apache user

Postby Compact » 30. April 2006 10:46

When I change the apache user, should I have to change anything else like permissions? When I change it the php is not able to connect to the mysql server.
Compact
 
Posts: 12
Joined: 02. November 2005 21:47

Postby capitalfellow » 01. May 2006 14:49

maybe. If the webserver starts up and you can connect browse pages & PHP scripts then perhaps no. If the webserver isn't running at all then perhaps yes.

try 'ps -ef|grep httpd' to see if its running.

If it is running look at the PHP script that the webserver is executing and test if the user that PHP script is using can connect to MySQL via command line.
User avatar
capitalfellow
 
Posts: 60
Joined: 19. July 2005 01:10
Location: Charlotte, NC USA
Operating System: OS X


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 16 guests