346 reputation
31125
bio website
location Montreal, Canada
age
visits member for 5 years, 2 months
seen Oct 12 at 16:04

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
Sep
10
comment How can I log into Ubuntu-9.04 as administrator or root?
shawn is the user I created upon installing Ubuntu, which I installed only a couple of days ago... I don't know what I did that broke the sudo, nor am I aware if it ever worked.. How can I log in as root? b.t.w: I am the owner/installer of the system, don't worry