Reputation
401
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 12 29
Newest
 Yearling
Impact
~193k people reached

  • 0 posts edited
  • 0 helpful flags
  • 15 votes cast
Sep
30
revised Can you explain how to understand what the 'iwconfig' command displays in Ubuntu-9.04?
Added the problem I encounter when trying to associate a key
Sep
30
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
I tried looking at the HTTP headers, but when Firefox offers to download a page, nothing appears under the Net tab. So I can't even look at the headers... What does this mean about how firefox sees the file?
Sep
30
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Connecting with phpMyAdmin works. I tried the last code you posted. Everything works, I get a listing of all databases. But after that, where the mysql_close() statement takes place, I get a "Warning: Unknown: 1 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0". I tried modifying your code slightly by simply taking the parameter out of the mysql_close($db) statement (using mysql_close() instead) and that results in Firefox offering to download the file! What does this mean?
Sep
30
comment Why does PHP throw “Segmentation fault (11)” after “mysql_connect”, or upon “mysql_close”?
Example #1 on mysql_close man page works fine. It displays "Connected Successfully".
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”?