xampp

XAMPP Apache Webserver localhost not working on MAC OS

佐手、 提交于 2019-11-28 03:08:34
I install XAMPP server on MAC OS 10.6 it was working fine. After a lot of days I checked it, but not working this time, localhost not opening this time. after some R&D I reinstall XAMPP server after uninstall When I start the apache after reinstall it giving port 80 running a another webserver Then I restart system, then apache start ok, but same local host not working Then I check Web Sharing in my System Preference then it was already Tuned Off ... Please anybody tell me where I am wrong? Yakov Fain This is what helped me: sudo apachectl stop This command killed Apache server that was pre

PHP session empty

不想你离开。 提交于 2019-11-28 02:26:30
I made a simple login function in PHP. My problem is that there are no session attributes when the browser hits page login_success.php After i store data in the session in checklogin.php , i checked if it contained any data by typing : print_r($_SESSION); , this prints 2 object. However, when i try to do the same in login_success.php , it comes up empty. I use xampp and safari. Login.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type"

Remote mySQL connection throws “cannot connect to MySQL 4.1+ using the old insecure authentication” error from XAMPP

淺唱寂寞╮ 提交于 2019-11-28 02:16:37
问题 I'm running a local copy of WordPress on XAMPP/WinXP for development, but would like to maintain a connection to the remote database. I keep getting "Error establishing database connection" no matter what I try. On the same PC, I can connect to the remote mySQL DB using any number of mySQL clients, and on the mySQL side, the both the user and the database are set to accept incoming requests from any wildcard domain. I can also easily ping the remote database server from my PC (though I don't

Error in running apache services from XAMPP

拜拜、爱过 提交于 2019-11-28 02:11:27
问题 I installed XAMPP a few months ago and it has been working fine. But recently when I open it I get an error of a port being occupied. Now whenever I start my XAMPP and run apache services I get these errors: Apache Service detected with wrong path Change XAMPP Apache settings or Uninstall/disable the other service manually first Found Path: ERROR: Not Able To Open Service Manager Expected Path: "d:\my local server\xampp\apache\bin\httpd.exe" -k runservice Problem detected! Port 80 in use by

How to save php file as .php or .html extension?

蓝咒 提交于 2019-11-28 01:36:32
问题 why we have php file as .php , can we save php file as .html,because at some sites,I seen webpages with .php extension,why can't we have .html extension of php file. Does it effect the execution of php file on php server engine. if we have it as .html file,which has php code inside it. 回答1: If you really want to serve your PHP code with .html files, it can be done. Your web server is configured to detect the file type by looking at the extension. By default it will route .php files through

changing php write permissions in XAMPP on Windows 7

五迷三道 提交于 2019-11-28 01:11:22
I'm trying to install a file-based blog engine in XAMPP, but all of these projects require write permissions to be changed. I'm assuming they are not talking the Windows setting that can be accessed through 'properties'. Any idea where/how to change this? seems like an easy question but i'm coming up short. Thank you. Windows is generally less restrictive about read/write-permissions. If you did not install XAMPP into C:\ProgramFiles chances are good, that setting file-permissions does not apply to your installation. In the unlikely case, that your PHP-log shows warnings/errors regarding file

PHP openssl_public_encrypt causing Page Timeout/Connection Reset?

不问归期 提交于 2019-11-28 01:10:05
问题 Just migrated to a new machine and having issues. Note: This is a Windows 7 , Apache 2.2.21, MySQL 5.5.16, php 5.3.8 setup. Each time I run a certain PHP script, I am faced with a "Page Load Error - The connection was reset". I know the script works before the function call with various echo statements but calling: openssl_public_encrypt(); I am given a page timeout. I have added the appropriate openssl.dll PATH to my windows configuration settings (D:\xampp\php\etc) but I am still getting

How to enable Virtual Host on Xampp for Laravel?

ε祈祈猫儿з 提交于 2019-11-28 00:52:18
问题 I have XAMPP running on Windows 7 Pro. I am trying to setup a Virtual Host so that when I use "dev.app" as a domain I get directly to my public folder of laravel installation. Laravel is located at F:/xampp/htdocs/dev/public I opened the httpd-vhosts.conf file located at F:\xamp\apache\conf\extra\https-vhosts.conf and replaced everything with this # Virtual Hosts # # Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your # machine you can setup

Enabling SSL Support for CURL in XAMPP

瘦欲@ 提交于 2019-11-28 00:26:09
问题 I am using an encoded PHP script, which requires SSL support for CURL. I am currently using XAMPP for local development and need to know how to update the default CURL such that SSL is enabled over it. The reason I am looking for an upgrade/support is that I am getting the following error, which when googled up and etc. I understand that SSL is not supported for CURL on my machine. SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER

IP address is showing in form action with CodeIgniter http://::1/codeigniter/ in html sourcecode

强颜欢笑 提交于 2019-11-27 23:43:27
I have the CI script installed on Xampp. Currently I am working on forms and when I click on submit on html, it does nothing. I tried echo form_open('verifylogin'); echo form_open(); It show on sourcecode as <form action="http://::1/codeigniter/verifylogin"> <form action="http://::1/codeigniter/"> respectively. I don't understand what this "http://::1/" is and how to get rid of it? If ip address is displayed in form action or url http://::1/yourproject/ http://127.0.0.1/yourproject/ Chances are you have left the base url blank /* |---------------------------------------------------------------