xampp

Unable to find where PHP installed after installing Xampp

馋奶兔 提交于 2019-12-11 23:09:23
问题 I used the following link to download the latest Xampp in order to install php on a windows. I clicked on "Installer" and installed it on my computer. Now I can't seem to find php on my machine. What should I do next? 回答1: First of all you must start the apache server and mysql through xampp control panel. and then directly try with browser like http://localhost/ Also you need to save the php files in C:/program files/xampp/htdocs/your folder name / (If you installed xampp in C drive )

apache is not working on xampp

北城余情 提交于 2019-12-11 22:12:57
问题 It shows the errors given bellow 9:53:45 AM [Apache] Error: Apache shutdown unexpectedly. 9:53:45 AM [Apache] This may be due to a blocked port, missing dependencies, 9:53:45 AM [Apache] improper privileges, a crash, or a shutdown by another method. 9:53:45 AM [Apache] Press the Logs button to view error logs and check 9:53:45 AM [Apache] the Windows Event Viewer for more clues 9:53:45 AM [Apache] If you need more help, copy and post this 9:53:45 AM [Apache] entire log window on the forums

Including files from include path not working as expected

拥有回忆 提交于 2019-12-11 21:10:40
问题 When I run this code in a php file: get_include_path(); I get this result: .:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear So shouldn't all files from either of these 2 directories be automatically included in all my php files? Because when I put a file with a class in 1 of them and try using it in my php file, it says Fatal error: Class 'FirePHP' not found in /Applications/XAMPP/xamppfiles/htdocs/index.php on line 4 回答1: You misunderstood the include_path

Send image to http server from Android

时光毁灭记忆、已成空白 提交于 2019-12-11 20:24:03
问题 I know that this question is "over-answered" but I'm really desperate!! At first sorry for my bad english. GOAL: I use XAMPP and I want to store in a server an image sent by an Android app. I have read lots of tutorial but nothing works!! I found and tried this code of Keaton but it doesn't works! There aren't errors or crashes but the image doesn't really sent to the server. Keaton code - Stack Overflow I've paste this function in a new project and run with only this function. I've Android

Phpmailer not working running from localhost (XAMPP)

给你一囗甜甜゛ 提交于 2019-12-11 20:16:48
问题 I am being troubled from the send mail function using phpmailer running at localhost. I use XAMPP, phpmailer The $mail->IsSMTP() or $mail->IsSendmail() is working well on the hosting, but not localhost. I had tried many solution mentioned on the internet, such as enabled the OPENSSL (extension=php_openssl.dll) For using $mail->IsSendmail() of phpmailer, it shown "Could not execute: /usr/sbin/sendmail". For using $mail->IsSMTP() with well configured, all are setting correctly. It shows "SMTP

sqlsrv_connect: Data source name not found and no default driver specified

百般思念 提交于 2019-12-11 19:33:17
问题 I am trying to connect to SQL Server 2008 on machine-1 from PHP code on another machine-2. I am using PHP 5.4.7, XAMPP 1.8.1 and I have copied the sql server dlls into PHP/ext folder and modified the php.ini file. Now, when I try to connect to SQL server I am getting following error. Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -49 [code] => -49 [2] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following URL to download the Microsoft SQL

Attaching Netbeans to XDebug on XAMPP Webservice fails

早过忘川 提交于 2019-12-11 19:20:13
问题 I would like to debug a webservice which is called from my C#/.Net Application using XAMPP 1.8.1 and Netbeans 7.3. Whereas the integrated debugging works fine with Netbeans I can't attach the debugger manually to intercept the calls to the webservice functions. I'm not exactly sure how the correct usage is. The main problem seems to be that xdebug is simply not yet running when trying to attach the debugger. I have no clue at the moment how to achieve this correctly, when an external

Whitescreen in XAMPP and PHPMYADMIN at Chrome

倖福魔咒の 提交于 2019-12-11 18:48:15
问题 I installed XAMPP 1.8.1 recently and totally fine in Mozila Firefox 16.0.2 . but it show only whitescreen when i tried to call , localhost/phpmyadmin and localhost/xampp at Chrome ( 17.0.963.2) . but i doubted that because of cache and history then i wiped out all of browser 's history and cache and others . but it still exist as whitescreen . but when i tried to edit xampp/index.php as <?php echo "something"; ?> it will show "something" via whitescreen at both browsers . do you have any idea

Adobe AIR with PHP/MySql or SQLite

拟墨画扇 提交于 2019-12-11 18:08:45
问题 What would be a better choice for making a database driven Adobe AIR(Desktop) application? Using PHP+MySql with AIR OR Using SQLite If I choose SQLite, then I cannot reuse my code for an online application. If I choose 1, I have to block few port numbers on User's machine. Also, I am using XAMPP for providing the user with PHP and MySql, so XAMPP opens up a command window as long as it's running. And, users get confused about what's that window for? It makes the end user experience slightly

Apache home server connects to domain inside network and not out

99封情书 提交于 2019-12-11 18:07:51
问题 Hello i have an old windows xp pc im trying to turn into a server for hobbyist purposes. I downloaded and installed the apache xampp 1.8 distribution. Once installed and tested that the localhost worked, I connected my domain to my servers ip. So my problem is when i tried to connect to my site on my pc on the same network, they all were able to load the domain/site inside the network successfully but when i have a pc thats outside the network try it fails. Any ideas?. thanks. 回答1: You have