[oclug] Apache + PHP + MySQL on RH7.0
Michael Milner
milner at hotmail.com
Sun Apr 8 19:29:24 EDT 2001
I found the problem, the directory that contains my "mysql.sock" file only
had permissions for root.
I just chmoded it to 755 and everything seems to work now. I guess apache
just couldn't access it!
Thanks,
Mike
----- Original Message -----
From: "Chris Herrnberger" <chris123 at magma.ca>
To: <oclug at lists.oclug.on.ca>
Sent: Sunday, April 08, 2001 7:54 PM
Subject: Re: [oclug] Apache + PHP + MySQL on RH7.0
> On Sunday 08 April 2001 16:46, you wrote:
> > I just finished a fresh install of RH 7.0
>
> > Anyone have any ideas on how to get this to work??
>
> Had the same problem when I upgraded my SuSE install. In my case php4 rpm
was
> not installed correctly. Here is the sequence I used to sort it out. Other
> may have more advise:
>
> Install all the rpm as required and then start with MySQL and check
> everything.
> Check to see if mysql is running.
> Change default password
> Create a user account and password for mysql
> Again check from the command line that you can access mysql from the user
> account or any tool you like, see below.
> Start the httpd server.
> Confirm that httpd is up and running.
> Either write a php test script or point your browser to the supplied test
> script if provided by RedHat. Should this last test fail and all other
test
> check out to this point then you need to check if your httpd.conf file is
set
> up correctly to allow php execution.
>
> If anything fails along the way then you know where the problem is.
> Tools that I like for MySql are the docs, phpmyadmin & webmin
>
> Worked for me...
>
> Best
>
> Chris
>
> _______________________________________________
> oclug mailing list
> oclug at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
>
More information about the OCLUG
mailing list