351 reputation
31126
bio website
location Montreal, Canada
age
visits member for 5 years, 4 months
seen Oct 12 at 16:04

Sep
26
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Quick security check... Your XAMPP pages are NOT secured by a password. Do you want to set a password? [yes] no MySQL is accessable via network. Normaly that's not recommended. Do you want me to turn it off? [yes] yes ... The MySQL/phpMyAdmin user pma has no password set!!! Do you want to set a password? [yes] yes ... Setting new MySQL pma password. Setting phpMyAdmin's pma password to the new one. MySQL has no root passwort set!!! Do you want to set a password? [yes] no The FTP password for user 'nobody' is still set to 'lampp'. Do you want to change the password? [yes] no Done. that good?
Sep
26
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
That's interesting. I had always been wondering why there is no entry for XAMPP in the applications tab. Indeed, I can't find the Others link which you speak of. In applications, I have only Accessories, Games, Graphics, Internet, Office, Programming, Sound & Video, System tools and Add/Remove... And I can't find anything XAMPP-related. I just start XAMPP with sudo /opt/lampp/lampp start
Sep
26
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
I tried error_log with only one argument and it worked. I edited my original post, adding the results of my try. As for what's in the downloaded file: nothing. I download it and open it in gedit, and I get a blank file (0 bytes, btw). That too was edited in my original post. As you can see, it executes everything up to mysql_close(); then it crashes. Yet, the file is blank upon download.. What does this mean? Thanks very much for your help up to now.
Sep
26
revised Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
I was able to use error_log()
Sep
26
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
How can I tell if mysql is running as a service? I don't know if my root has a password or not, but I've tried the sample code with many different users, with and without passwords, to no avail. As for extensions, I haven't installed any since I first installed XAMPP. I can't find php_mssql.dll anywhere. I tried echo($MYSQL_TCP_PORT); here is what I get Notice: Undefined variable: MYSQL_TCP_PORT in /opt/lampp/htdocs/test.php on line 2 The other settings in php.ini change nothing to my problem.
Sep
25
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
I read up on the core dump, and frankly, I can't understand it. I know I can break my system if I do too many things I don't understand in the command line, so I am hesitant to go on this particular journy. I have edited my question above because I have managed to isolate where the problem occurs. Could you check it out and tell me if the core dump really is what I need? Thanks
Sep
25
revised Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Isolated the problem
Sep
25
revised Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Added information concerning my latest attempts
Sep
25
awarded  Commentator
Sep
25
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
I tried using error_log by adding <?php error_log("Start of file reached by PHP\n", 3, "/opt/lampp/htdocs/webÉchange/SiteWeb_V5/errorLog.txt"); ?> at the very beggining of one of the faulty files, but errorLog.txt remains blank. I also tried using <?php error_log("End of file reached by PHP", 1, "shawninder@gmail.com", "From: shawninder@gmail.com"); ?>, shawninder@gmail.com being my own e-mail, but still, nothing happens. As for setting up Apache, I can't seem to find how to do this. Actually, I'm finding very little information about setting anything in XAMPP...
Sep
24
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Well, I solved the Access denied problem, now I only get the Segmentation fault (I edited my question)
Sep
24
revised Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Solved some of the errors, so the error log output changed, so I changed it in here
Sep
24
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
So how do I determine what's wrong in the XAMPP set up and configuration? Or how do I determine what's wrong in my code that messes up XAMPP?
Sep
24
revised Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
I added the fact that the problem doesn't occur on my other computer
Sep
24
revised Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Added error log output
Sep
24
asked Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Sep
20
comment Can you explain how to understand what the 'iwconfig' command displays in Ubuntu-9.04?
I tried both 'key s:my_key' and 'key my_key', but both fail. In the first case, I get -->'Error for wireless request "Set Encode" (8B2A) : SET failed on device wlan0 ; invalid argument.'<-- In the second case I get: -->'Error for wireless request "Set Encode" (8B2A) : invalid argument "my_key".'<-- of course, 'sudo dhclient wlan0' doesn't work either. The output finishes with -->'No DHCPOFFERS received.'<-- –
Sep
20
comment Can you explain how to understand what the 'iwconfig' command displays in Ubuntu-9.04?
I tried both 'key s:my_key' and 'key my_key', but both fail. In the first case, I get -->'Error for wireless request "Set Encode" (8B2A) : SET failed on device wlan0 ; invalid argument.'<-- In the second case I get: -->'Error for wireless request "Set Encode" (8B2A) : invalid argument "my_key".'<-- of course, 'sudo dhclient wlan0' doesn't work either. The output finishes with -->'No DHCPOFFERS received.'<--
Sep
17
asked Can you explain how to understand what the 'iwconfig' command displays in Ubuntu-9.04?
Sep
15
awarded  Editor