You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Adil Drissi <ad...@yahoo.com> on 2008/08/30 17:06:13 UTC

[users@httpd] apache configuration for php and mysql

Hi all,

I've installed mysql php (apache was already installed) in my fedora8.

Now mysql works, and php works but not the database statements.

For example in a php script where i have to make a connection to the database, it blocks in the connection statement without any error message. The same script when i run it from terminal it works correctly. It seems that just accessing mysql by php from the browser is not supported.

I guess there is an option for configuring this, but i have no idea what it is. So please help me with that.

Thank you


      


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache configuration for php and mysql

Posted by Bradley Giesbrecht <br...@pixilla.com>.
If you make changes to apache, mysql or php conf files you need to  
bounce apache and/or mysql for them to be used.

Restarting the machine should not be necessary.

//brad

On Aug 30, 2008, at 8:10 AM, Adil Drissi wrote:

> Hi,
>
> Sorry now it works.
>
> Maybe i had to restart the machine.
>
> Sorry again
>
>
> --- On Sat, 8/30/08, Adil Drissi <ad...@yahoo.com> wrote:
>
>> From: Adil Drissi <ad...@yahoo.com>
>> Subject: [users@httpd] apache configuration for php and mysql
>> To: users@httpd.apache.org
>> Date: Saturday, August 30, 2008, 3:06 PM
>> Hi all,
>>
>> I've installed mysql php (apache was already installed)
>> in my fedora8.
>>
>> Now mysql works, and php works but not the database
>> statements.
>>
>> For example in a php script where i have to make a
>> connection to the database, it blocks in the connection
>> statement without any error message. The same script when i
>> run it from terminal it works correctly. It seems that just
>> accessing mysql by php from the browser is not supported.
>>
>> I guess there is an option for configuring this, but i have
>> no idea what it is. So please help me with that.
>>
>> Thank you
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP
>> Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for
>> more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest:
>> users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail:
>> users-help@httpd.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server  
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache configuration for php and mysql

Posted by Adil Drissi <ad...@yahoo.com>.
Hi,

Sorry now it works.

Maybe i had to restart the machine.

Sorry again


--- On Sat, 8/30/08, Adil Drissi <ad...@yahoo.com> wrote:

> From: Adil Drissi <ad...@yahoo.com>
> Subject: [users@httpd] apache configuration for php and mysql
> To: users@httpd.apache.org
> Date: Saturday, August 30, 2008, 3:06 PM
> Hi all,
> 
> I've installed mysql php (apache was already installed)
> in my fedora8.
> 
> Now mysql works, and php works but not the database
> statements.
> 
> For example in a php script where i have to make a
> connection to the database, it blocks in the connection
> statement without any error message. The same script when i
> run it from terminal it works correctly. It seems that just
> accessing mysql by php from the browser is not supported.
> 
> I guess there is an option for configuring this, but i have
> no idea what it is. So please help me with that.
> 
> Thank you
> 
> 
>       
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org


      


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org