You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Kugler <jo...@uaf.edu> on 2006/03/22 04:38:46 UTC

[users@httpd] Re: php crashes with msyql

You don't per chance have mod_scramble loaded too, do you?

j----- k-----

On Tuesday 21 March 2006 16:28, Noah Silverman wrote:
> Hello,
>
> I have a mission critical problem that I cant seem to solve.  Can
> anyone help??
>
> I'll even offer $100 paypal if someone gives me the answer to solve
> this issue.
>
> Thanks,
>
> -N
>
> ------------------
>
> The issue:
> 	when I load a php file in a browser that references mysql, it
> crashes the apache thread.
>
> The clues:
> 	if I call the same php from the command line, it works perfectly!
> 	If I call a php file that doesn't use mysql, it works perfectly!
> 	The problem is only when calling a php file using mysql THROUGH A
> BROWSER.
>
> The environment
> 	slackware with kernel 2.6.11.8
> 	php 5.1.2
> 	apache 2.2.0
> 	mysql 4.1.18 (pre-compiled downloaded from mysql.com)
>
> apache config command:
> ./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/
> local/apr-util-httpd/ --enable-so --enab
> le-rewrite --disable-autoindex --enable-ssl --with-ssl=/usr/local/ssl
>
> php config command:
>
> './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-
> mysql=/usr/local/mysql' '--with-mysql-sock=/tmp/mysql.sock' '--with-
> sqlite' '--enable-sqlite-utf8' '--with-zlib' '--with-zlib-dir' '--
> with-bz2' '--with-gd' '--enable-gd' '--enable-gd-native-ttf' '--with-
> jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-ttf' '--with-
> curl=/usr/local' '--enable-track-vars' '--with-gettext' '--with-
> config-file-path=/usr/local/apache2/conf' '--enable-trans-id' '--
> enable-ftp' '--enable-mbstring' '--with-openssl=/usr/local/ssl'
>
>
>
> ---------------------------------------------------------------------
> 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

-- 
Joshua Kugler                 PGP Key: http://pgp.mit.edu/
CDE System Administrator             ID 0xDB26D7CE
http://distance.uaf.edu/

---------------------------------------------------------------------
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] Re: php crashes with msyql

Posted by Noah Silverman <no...@allresearch.com>.
Nope...


On Mar 21, 2006, at 7:38 PM, Joshua Kugler wrote:

> You don't per chance have mod_scramble loaded too, do you?
>
> j----- k-----
>
> On Tuesday 21 March 2006 16:28, Noah Silverman wrote:
>> Hello,
>>
>> I have a mission critical problem that I cant seem to solve.  Can
>> anyone help??
>>
>> I'll even offer $100 paypal if someone gives me the answer to solve
>> this issue.
>>
>> Thanks,
>>
>> -N
>>
>> ------------------
>>
>> The issue:
>> 	when I load a php file in a browser that references mysql, it
>> crashes the apache thread.
>>
>> The clues:
>> 	if I call the same php from the command line, it works perfectly!
>> 	If I call a php file that doesn't use mysql, it works perfectly!
>> 	The problem is only when calling a php file using mysql THROUGH A
>> BROWSER.
>>
>> The environment
>> 	slackware with kernel 2.6.11.8
>> 	php 5.1.2
>> 	apache 2.2.0
>> 	mysql 4.1.18 (pre-compiled downloaded from mysql.com)
>>
>> apache config command:
>> ./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/
>> local/apr-util-httpd/ --enable-so --enab
>> le-rewrite --disable-autoindex --enable-ssl --with-ssl=/usr/local/ssl
>>
>> php config command:
>>
>> './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-
>> mysql=/usr/local/mysql' '--with-mysql-sock=/tmp/mysql.sock' '--with-
>> sqlite' '--enable-sqlite-utf8' '--with-zlib' '--with-zlib-dir' '--
>> with-bz2' '--with-gd' '--enable-gd' '--enable-gd-native-ttf' '--with-
>> jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-ttf' '-- 
>> with-
>> curl=/usr/local' '--enable-track-vars' '--with-gettext' '--with-
>> config-file-path=/usr/local/apache2/conf' '--enable-trans-id' '--
>> enable-ftp' '--enable-mbstring' '--with-openssl=/usr/local/ssl'
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
> -- 
> Joshua Kugler                 PGP Key: http://pgp.mit.edu/
> CDE System Administrator             ID 0xDB26D7CE
> http://distance.uaf.edu/
>
> ---------------------------------------------------------------------
> 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