xampp

XAMPP on Debian7 starting Apache fails

感情迁移 提交于 2019-12-04 14:14:42
问题 I install xampp on my debian 7,and when I try to start it, I have gotten an error message start apache fail , I use the ps -A to show if I had run another web service ,but I failed. How to solve this issue? /opt/lampp/lampp start Starting XAMPP for Linux 1.8.2-2... XAMPP: Starting Apache...fail. XAMPP: Another web server is already running. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...ok. 回答1: when debian7 start,it will start apache2. so you should stop it first,than try to start

How to Install PHP MongoDB Driver for XAMPP on OSX?

六眼飞鱼酱① 提交于 2019-12-04 13:48:36
问题 I entered the following commands on my command terminal in order to use the 'MongoClient' with PHP on XAMPP on my Macbook Pro: brew install wget brew install autoconf sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo Added extension=mongo.so to php.ini /Applications/XAMPP/xamppfiles/etc Restarted Apache However, I have had no luck. I keep getting this error: Fatal error: Class 'MongoClient' not found in /Applications/XAMPP/xamppfiles/htdocs/xampp/index.php on line 5 I'm getting kind

在xampp下安装thinkphp5

杀马特。学长 韩版系。学妹 提交于 2019-12-04 13:44:06
在xampp2016下安装thinkphp5 (本人的坑,说白了就是把thinkphp5的文件放到htdocs下) 1.把该xampp中的php文件夹路径设置进环境变量,这样才能全局运行composer 环境变量设置: 2.把composer中的两个文件放到php文件夹中 (该composer解压包以及thinkphp5.1链接:https://pan.baidu.com/s/1kYUM1KAkTe2ZSubVRQ6zNg 提取码:ueze ) 2. 在window下cmd执行: composer config -g repo.packagist composer https://packagist.phpcomposer.com composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ (失败时,打开xampp/php/php.ini,ctrl+F 查找extension_dir,修改为extension_dir = "E:\xampp\php\ext" (具体盘位置) 3. 在htdocs目录下cmd执行: composer create-project topthink/think=5.1.* tp5.1test (失败时,找到你的php.ini,ctrl

Installing Zend Framework After Xampp

佐手、 提交于 2019-12-04 13:31:49
I am running Windows 7 and am using Xampp. I would like to install the Zend framework for PHP, but I am having difficulties understanding how to install it. I have used the Zend framework before, but it was already installed on the Linux system I was working on. I am reading through the Zend documentation here: http://framework.zend.com/manual/en/learning.quickstart.create-project.html I am having trouble with updating the includes_path portion. My original include path was include_path = ".;C:\xampp\php\PEAR" , but I updated it to include_path = ".;C:\Zend" . I then followed the directions

Use of mailtodisk / mailoutput in XAMPP for Linux

冷暖自知 提交于 2019-12-04 12:22:59
Unlike in Windows, i'm having trouble to use the "mailtodisk" PHP option in Linux. Looks like it doesn't even exist. In "php.ini", in the mail section, there is no reference to it: [mail function] ; For Win32 only. ; http://php.net/smtp SMTP=localhost ; http://php.net/smtp-port smtp_port=25 ; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path ;sendmail_path = ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail

XAMPP NOT WORKING! - OS X Yosemite

耗尽温柔 提交于 2019-12-04 12:06:49
I was working with XAMPP 1.8.3-3 on OS X Mavericks. After upgrading to Yosemite Mysql server stopped working. And an upgrade to XAMPP 1.8.3-5 fixed the problem and mysql server starts working. Now the entire database list is showing on phpmyadmin, but no access to the tables. Its showing “#1146 - Table ‘DB_NAME.TABLE_NAME’ doesn’t exist”. Unfortunately I don't have any DB backup! I have the entire XAMPP folder backup. So how I can able to retrieve the mysql tables? just type /Applications/XAMPP/xamppfiles/bin/mysql.server start in terminal then start xampp you can restore if you have all the

Could not find driver while migrating on Laravel 4 using XAMPP Server Linux (Ubuntu)

两盒软妹~` 提交于 2019-12-04 11:40:52
I have installed Laravel 4.1 everything worked just fine, but when I try to use migration it throws a PDO Exception saying: [PDOException] could not find driver I found many answers on StackOverFlow, but none of them solved my problem, unfortunately. I have tried to enable pdo extension and pdo_mysql extension, but it says that pdo is already loaded. I have tried to reinstall PDO and PDO MySQL but nothing worked. I am using XAMPP Server on a Ubuntu 64bit machine. Thank you in advance. If you are looking for simple solution, I had same issue & this worked for me.. When you run php artisan from

Not able to install pThread on Windows Xampp

╄→尐↘猪︶ㄣ 提交于 2019-12-04 11:35:20
问题 Update: Looks like I am not doing anything wrong here. When I execute a thread example, it works fine. I am not sure, then why am I getting those errors when I start Apache. Any ideas? I am trying to install pThread on Xampp (Windows 7) as follows: My PHP version information: 5.4.7 VC9 x86 I have downloaded php_pthreads-0.0.45-5.4-ts-vc9-x86.zip Then I added pthreadVC2.dll to C:\xampp\php and php_pthreads.dll to C:\xampp\php\ext In php.ini, I have added extension=php_pthreads.dll Restarted

apache service not stopping in xampp [closed]

♀尐吖头ヾ 提交于 2019-12-04 09:56:58
I tried to stop the apache service in xampp, but it does not stop from running and it shows up an error "Busy...ERROR: -1" What is the cause of this problem of how do I resolve this? Thanks in advance. What OS are you using? Are you using the XAMPP control panel? In windows press Start Run Type "Services.msc" Find the "Apache" service Right click and stop I find i get this error if i start the apache service without the control panel but try to stop it with the control panel. 来源: https://stackoverflow.com/questions/8414292/apache-service-not-stopping-in-xampp

XAMPP relative urls not working correctly

流过昼夜 提交于 2019-12-04 09:33:36
on http://www.exampleSite.com/aPage.php , the following image loads correctly <img src="/images/sidenav/analysis-2.gif" /> but at http://localhost/exampleSite/aPage.php , it tries to get localhost/images/... instead of localhost/exampleSite/images/... My file structure is: C:\xampp\htdocs\exampleSite\ I have had this problem across multiple projects, and have previously resorted to absolute URLs, but now I am just trying to make some quick updates on a page, and I cannot view it correctly on my localhost. If you don't want to mess up with the src attributes throughout your website, you may