Questions and answers
الأسئلة الشائعة
Short answers to what people ask most about AMPLE. Need more detail? Every answer links to the documentation.
إجابات قصيرة عن أكثر ما يسأل عنه الناس حول AMPLE. تحتاج تفاصيل أكثر؟ كل إجابة تقودك إلى التوثيق.
No question matches. Try another word, or write to ample@himacode.com.
لا يوجد سؤال مطابق. جرّب كلمة أخرى، أو راسلنا على ample@himacode.com.
1Generalعام
Is AMPLE free?
Yes. AMPLE is free to download and use, with no account. It is built on free, open-source projects: Apache, MariaDB, PHP, phpMyAdmin, Mailpit and Composer.
هل AMPLE مجاني؟
نعم. تحميل AMPLE واستخدامه مجاني، دون حساب. وهو مبني على مشاريع مجانية مفتوحة المصدر: Apache و MariaDB و PHP و phpMyAdmin و Mailpit و Composer.
How is AMPLE different from XAMPP?
Both give you Apache, a MySQL-compatible database, PHP and phpMyAdmin on Windows. AMPLE ships current versions (PHP 8.5, MariaDB 11.8, Apache 2.4) and adds what XAMPP leaves to you: a control panel that explains errors in plain English and Arabic (Log Doctor), every folder as its own site at NAME.localhost, HTTPS for local sites, Mailpit to catch test emails, Composer, public share links, safe updates from inside the panel, and an importer for your XAMPP sites and databases (ample xampp scan).
It also keeps up with PHP: XAMPP for Windows went 35 months without a new release, from 21 November 2023 to 23 October 2026.
ما الفرق بين AMPLE و XAMPP؟
كلاهما يعطيك على Windows خادم Apache، وقاعدة بيانات متوافقة مع MySQL، و PHP، و phpMyAdmin. يأتي AMPLE بإصدارات حديثة (PHP 8.5 و MariaDB 11.8 و Apache 2.4)، ويضيف ما يتركه XAMPP لك: لوحة تحكم تشرح الأخطاء بلغة بسيطة بالعربية والإنجليزية (Log Doctor)، وكل مجلد موقع مستقل على NAME.localhost، و HTTPS للمواقع المحلية، و Mailpit لالتقاط رسائل البريد التجريبية، و Composer، وروابط مشاركة عامة، وتحديثات آمنة من داخل اللوحة، وأداة لاستيراد مواقعك وقواعد بياناتك من XAMPP (ample xampp scan).
ويواكب AMPLE إصدارات PHP: فقد بقي XAMPP لـ Windows 35 شهراً دون إصدار جديد، من 21 نوفمبر 2023 إلى 23 أكتوبر 2026.
Windows Smart App Control blocked AMPLE Setup. What do I do?
Smart App Control blocks new installer files that are not code-signed yet, even safe ones. Download the ZIP version instead: right-click it, choose Extract All, then run AMPLE-Setup.exe inside the folder. It is the same setup, and Windows lets it run. You do not need to turn Smart App Control off.
Run it from the extracted folder, not from inside the ZIP.
منع Smart App Control في ويندوز مثبّت AMPLE. ماذا أفعل؟
يمنع Smart App Control ملفات التثبيت الجديدة غير الموقّعة رقمياً بعد، حتى الآمنة منها. حمّل نسخة ZIP بدلاً منه: انقر عليها بزر الفأرة الأيمن، واختر استخراج الكل، ثم شغّل الملف AMPLE-Setup.exe داخل المجلد. إنه المثبّت نفسه، ويسمح ويندوز بتشغيله. ولا تحتاج إلى إيقاف Smart App Control.
شغّله من المجلد بعد الاستخراج، وليس من داخل ملف ZIP.
Which Windows versions does it run on?
Windows 10 and Windows 11, 64-bit. Not sure about your PC? After installing, run ample check: it tests Windows, the Visual C++ runtime, Smart App Control, Defender, the folder, the ports and the free disk space, and explains anything that needs fixing.
macOS and Linux versions are on the way.
على أي نسخ Windows يعمل؟
Windows 10 و Windows 11، بنظام 64 بت. لست متأكداً من جهازك؟ بعد التثبيت نفّذ ample check: يفحص Windows، و Visual C++، و Smart App Control، و Defender، والمجلد، والمنافذ، والمساحة الفارغة، ويشرح ما يحتاج إلى إصلاح.
نسختا macOS و Linux في الطريق.
Do I need administrator rights?
No. AMPLE installs and runs without admin rights, and every site works at NAME.localhost without touching the hosts file. Even ample https trust only asks Windows to confirm once, with no admin. The only optional step that asks for admin is excluding the AMPLE folder from Defender (ample check --fix defender).
هل أحتاج صلاحيات مدير؟
لا. يُثبَّت AMPLE ويعمل دون صلاحيات مدير، وكل موقع يعمل على NAME.localhost دون لمس ملف hosts. حتى ample https trust يطلب من Windows تأكيداً مرة واحدة فقط، دون صلاحيات مدير. الخطوة الاختيارية الوحيدة التي تطلبها هي استثناء مجلد AMPLE من فحص Defender (ample check --fix defender).
"Only me" or "All users of this PC": which should I pick?
Only me (recommended): only your Windows account can open or change AMPLE's files. Pick All users of this PC only if other Windows accounts on the same computer need to use AMPLE too.
«لي وحدي» أم «لكل مستخدمي الجهاز»: أيهما أختار؟
لي وحدي (موصى به): لا يستطيع فتح ملفات AMPLE أو تغييرها إلا حسابك في Windows. اختر لكل مستخدمي الجهاز فقط إذا كانت حسابات Windows أخرى على الجهاز نفسه تحتاج إلى استخدام AMPLE.
Will updating AMPLE delete my projects or databases?
No. Running the installer again over an existing AMPLE updates it and keeps your projects and databases. Updating a single part (ample update) keeps your data too: mariadb\data, apache\conf\vhosts, apache\conf\ssl and mailpit\data. If a new Apache or Mailpit does not start, the old one is restored automatically. How updates work
هل يحذف تحديث AMPLE مشاريعي أو قواعد بياناتي؟
لا. تشغيل المثبّت مرة أخرى فوق AMPLE موجود يحدّثه ويُبقي مشاريعك وقواعد بياناتك. وتحديث جزء واحد (ample update) يحافظ على بياناتك أيضاً: mariadb\data و apache\conf\vhosts و apache\conf\ssl و mailpit\data. وإذا لم يعمل Apache أو Mailpit الجديد، تعود النسخة القديمة تلقائياً. كيف تعمل التحديثات
Can others on my Wi-Fi see my sites?
No. Apache, MariaDB and Mailpit only answer this computer (127.0.0.1). A site becomes reachable from outside only when you choose to share it.
هل يرى الآخرون على شبكة الـ Wi-Fi مواقعي؟
لا. لا تستجيب Apache و MariaDB و Mailpit إلا لهذا الحاسوب (127.0.0.1). ولا يصبح الموقع متاحاً من الخارج إلا عندما تختار مشاركته.
2Sites and PHPالمواقع و PHP
Where do I put my projects?
In the htdocs folder inside AMPLE. Every folder there is a site: htdocs\shop opens at http://shop.localhost, and also at http://localhost/shop/ like in XAMPP. A new folder works at once, even while Apache runs. More about sites
أين أضع مشاريعي؟
في المجلد htdocs داخل AMPLE. كل مجلد فيه هو موقع: htdocs\shop يفتح على http://shop.localhost، وأيضاً على http://localhost/shop/ كما في XAMPP. والمجلد الجديد يعمل فوراً، حتى وApache يعمل. المزيد عن المواقع
My folder is not a site. Why?
A site name can only use letters, digits and hyphens. A folder like My Shop (with a space) still opens at http://localhost/My Shop/, but not at NAME.localhost. Run ample sites to see what to rename, or ample sites rename "My Shop" my-shop.
مجلدي ليس موقعاً. لماذا؟
اسم الموقع يقبل الحروف والأرقام والشرطة فقط. مجلد مثل My Shop (فيه مسافة) يفتح على http://localhost/My Shop/، لكن ليس على NAME.localhost. نفّذ ample sites لترى ما يجب تغيير اسمه، أو ample sites rename "My Shop" my-shop.
Does Laravel work without changing anything?
Yes. When a folder has artisan and a public folder, AMPLE serves public automatically, so http://shop.localhost opens your Laravel app straight away. Laravel guide
هل يعمل Laravel دون تغيير أي شيء؟
نعم. عندما يحتوي المجلد على artisan ومجلد public، يعرض AMPLE المجلد public تلقائياً، فيفتح http://shop.localhost تطبيق Laravel مباشرة. دليل Laravel
How do I change the PHP version?
In the panel open PHP and download another version, or from a terminal: ample php-add 8.4 to download it and ample php-use 8.4 to switch. Your extensions and settings are carried over automatically. Want to see what changes first? ample php-compare 8.4 reports the differences and changes nothing.
كيف أغيّر نسخة PHP؟
في اللوحة افتح PHP وحمّل نسخة أخرى، أو من الطرفية: ample php-add 8.4 لتحميلها و ample php-use 8.4 للتبديل. تنتقل إضافاتك وإعداداتك تلقائياً. تريد أن ترى ما سيتغير أولاً؟ يعرض ample php-compare 8.4 الفروق دون أن يغيّر شيئاً.
Where is php.ini, and are my edits kept?
In php\VERSION\php.ini. You can edit it by hand like in XAMPP: on the next start AMPLE notices your edits, saves them in ample.json, and keeps them, including when you switch PHP versions.
أين ملف php.ini، وهل تُحفظ تعديلاتي؟
في php\VERSION\php.ini. يمكنك تعديله يدوياً كما في XAMPP: عند التشغيل التالي يلاحظ AMPLE تعديلاتك ويحفظها في ample.json ويبقيها، حتى عند التبديل بين نسخ PHP.
I edited httpd.conf and my change disappeared
httpd.conf, php.ini, my.ini and phpMyAdmin's config.inc.php are rebuilt on every start from ample.json and the templates in control\templates. Edit the template or use the control panel. For your own Apache sites, add a .conf file to apache\conf\vhosts: it is kept, even when Apache is upgraded. (php.ini is the exception: hand edits are kept, see above.)
عدّلت httpd.conf واختفى تعديلي
يُعاد بناء httpd.conf و php.ini و my.ini وملف config.inc.php الخاص بـ phpMyAdmin في كل تشغيل، من ample.json والقوالب الموجودة في control\templates. عدّل القالب أو استخدم لوحة التحكم. ولمواقع Apache الخاصة بك، أضف ملف .conf إلى apache\conf\vhosts: يبقى حتى عند ترقية Apache. (الاستثناء هو php.ini: تعديلاتك اليدوية تُحفظ، كما في السؤال السابق.)
Can I use php, composer and mysql in a terminal?
Yes: run ample path add (or switch it on in Settings → Terminal). It adds AMPLE's bin folder to your user PATH, with no admin. Open a new terminal afterwards. If another PHP (for example C:\xampp\php) is also in your PATH, the panel warns you.
هل يمكنني استخدام php و composer و mysql من الطرفية؟
نعم: نفّذ ample path add (أو فعّله من الإعدادات ← الطرفية). يضيف مجلد bin الخاص بـ AMPLE إلى PATH الخاص بحسابك، دون صلاحيات مدير. افتح طرفية جديدة بعدها. وإذا كانت نسخة PHP أخرى (مثل C:\xampp\php) موجودة في PATH، تنبّهك اللوحة.
file_get_contents('http://shop.localhost') fails in my PHP code
Browsers and curl understand *.localhost, but Windows' own name lookup (used by file_get_contents and fsockopen) does not. Call local sites from PHP with curl, or through http://localhost/shop/.
فشل file_get_contents('http://shop.localhost') في كود PHP
المتصفحات و curl تفهم *.localhost، لكن طريقة Windows في البحث عن الأسماء (التي يستخدمها file_get_contents و fsockopen) لا تفهمها. استدعِ المواقع المحلية من PHP باستخدام curl، أو عبر http://localhost/shop/.
3Databasesقواعد البيانات
What is the database user and password?
User root, no password, host 127.0.0.1, port 3306. Change the password everywhere at once with ample password NEW: MariaDB, ample.json and phpMyAdmin all follow.
ما اسم المستخدم وكلمة المرور لقاعدة البيانات؟
المستخدم root دون كلمة مرور، والعنوان 127.0.0.1، والمنفذ 3306. لتغيير كلمة المرور في كل الأماكن دفعة واحدة: ample password NEW، فيتبعها MariaDB و ample.json و phpMyAdmin.
Where is phpMyAdmin?
At http://localhost/phpmyadmin/, or press phpMyAdmin in the panel. It opens in AMPLE's dark design; switch to the original look in Settings → Design (or ample design phpmyadmin original).
أين phpMyAdmin؟
على http://localhost/phpmyadmin/، أو اضغط phpMyAdmin في اللوحة. يفتح بتصميم AMPLE الداكن، ويمكنك التبديل إلى شكله الأصلي من الإعدادات ← التصميم (أو ample design phpmyadmin original).
My .sql file is too big for phpMyAdmin
Use ample import file.sql database_name instead: any size, with progress. .sql.gz and .zip files work too.
ملف .sql كبير جداً على phpMyAdmin
استخدم بدلاً منه ample import file.sql database_name: بأي حجم ومع شريط تقدّم. وتعمل ملفات .sql.gz و .zip أيضاً.
How do I back up my databases?
ample backup saves every database to the backups folder as a compressed .sql.gz file (or name the ones you want: ample backup shop blog). Restore one with ample import backups\FILE.sql.gz.
كيف أنسخ قواعد بياناتي احتياطياً؟
يحفظ ample backup كل قاعدة بيانات في المجلد backups كملف مضغوط .sql.gz (أو اذكر ما تريد: ample backup shop blog). ولاستعادة واحدة: ample import backups\FILE.sql.gz.
MariaDB will not start. Will I lose my data?
Usually not. First open Log Doctor (or run ample doctor): it explains why, and for the classic "damaged Aria log" case it offers an automatic repair. If that is not enough, ample rescue --yes moves the broken data folder aside (nothing is deleted), starts MariaDB on a fresh one, and brings back every database it can read. How rescue works
Please don't use the old XAMPP trick of copying mysql\backup or single database folders over your data: it mixes files from different moments and causes hidden damage.
لا يعمل MariaDB. هل سأفقد بياناتي؟
غالباً لا. افتح أولاً Log Doctor (أو نفّذ ample doctor): يشرح السبب، وفي حالة «تلف سجل Aria» الشائعة يقترح إصلاحاً تلقائياً. وإذا لم يكفِ ذلك، ينقل ample rescue --yes مجلد البيانات المعطوب جانباً (دون حذف أي شيء)، ويشغّل MariaDB على مجلد جديد، ويستعيد كل قاعدة بيانات يستطيع قراءتها. كيف يعمل الإنقاذ
من فضلك لا تستخدم حيلة XAMPP القديمة بنسخ mysql\backup أو مجلدات قواعد بيانات منفردة فوق بياناتك: فهي تخلط ملفات من لحظات مختلفة وتسبب تلفاً خفياً.
5When something goes wrongعندما يحدث خطأ
Apache or MariaDB does not start
Open Log Doctor in the panel (or run ample doctor). It tells you exactly why, for example which program is using port 80 or 3306, and offers a fix. You can also move a service to another port in Settings → Ports (or ample port http 8080); AMPLE checks the new port is free first.
لا يعمل Apache أو MariaDB
افتح Log Doctor في اللوحة (أو نفّذ ample doctor). سيخبرك بالسبب بالضبط، مثل البرنامج الذي يستخدم المنفذ 80 أو 3306، ويقترح الحل. ويمكنك أيضاً نقل الخدمة إلى منفذ آخر من الإعدادات ← المنافذ (أو ample port http 8080)، ويتأكد AMPLE أولاً أن المنفذ الجديد متاح.
Windows Smart App Control blocked part of AMPLE
Apache, PHP, MariaDB and Mailpit are open-source builds that are not digitally signed. When Smart App Control is on, Windows blocks unsigned files that are still new, so a release from last week may be blocked while older ones run. You don't have to turn it off: ample update tests every new version before using it and keeps the current one if Windows blocks it. Try again a few weeks later. Turning Smart App Control off is only ever your own choice.
منع Smart App Control في Windows جزءاً من AMPLE
Apache و PHP و MariaDB و Mailpit نسخ مفتوحة المصدر غير موقّعة رقمياً. وعندما يكون Smart App Control مفعّلاً، يمنع Windows الملفات غير الموقّعة ما دامت جديدة، فقد تُمنع نسخة صدرت الأسبوع الماضي بينما تعمل النسخ الأقدم. لست مضطراً لإيقافه: يجرّب ample update كل نسخة جديدة قبل استخدامها، ويُبقي النسخة الحالية إذا منعها Windows. جرّب مرة أخرى بعد بضعة أسابيع. وإيقاف Smart App Control قرارك أنت دائماً.
Big projects feel slow
Microsoft Defender's real-time scanning checks every PHP, database and log file, which can slow big projects. ample check --fix defender excludes the AMPLE folder from scanning (it asks for admin once); then keep only your own projects there.
المشاريع الكبيرة بطيئة
يفحص Microsoft Defender كل ملف PHP وقاعدة بيانات وسجل لحظة بلحظة، وهذا قد يبطئ المشاريع الكبيرة. يستثني ample check --fix defender مجلد AMPLE من الفحص (ويطلب صلاحيات مدير مرة واحدة)، وبعدها أبقِ فيه مشاريعك أنت فقط.
Where are the logs?
All in the logs folder: apache, php, mariadb, ample (and share when you share). Log Doctor explains them in plain words. Logs are never rotated, so when everything works, empty them with ample logs clear (or Clear logs in Log Doctor) so the next problem is the only thing you see.
أين السجلات؟
كلها في المجلد logs: apache و php و mariadb و ample (و share عند المشاركة). يشرحها Log Doctor بكلمات واضحة. ولا تُدوَّر السجلات أبداً، فعندما يعمل كل شيء امسحها بـ ample logs clear (أو مسح السجلات في Log Doctor) لتكون المشكلة التالية هي الوحيدة التي تراها.
curl.exe shows a certificate error for https://shop.localhost
Windows' built-in curl.exe needs --ssl-no-revoke for local certificates. Browsers and PHP don't.
يُظهر curl.exe خطأ شهادة مع https://shop.localhost
يحتاج curl.exe المدمج في Windows إلى --ssl-no-revoke مع الشهادات المحلية. المتصفحات و PHP لا تحتاج ذلك.
How do I move from XAMPP?
Run ample xampp scan to see what can be imported, then import projects, databases, php.ini changes and virtual hosts step by step. Every step shows a plan first and only acts with --yes, and XAMPP itself is never changed. Moving from XAMPP, step by step
كيف أنتقل من XAMPP؟
نفّذ ample xampp scan لترى ما يمكن استيراده، ثم استورد المشاريع وقواعد البيانات وتعديلات php.ini والمواقع الوهمية خطوة بخطوة. كل خطوة تعرض خطة أولاً ولا تنفّذ إلا مع --yes، ولا يتغير XAMPP نفسه أبداً. الانتقال من XAMPP خطوة بخطوة
My question is not here
Write to ample@himacode.com. If something does not work, run ample doctor and ample check and send us what they say.
سؤالي غير موجود هنا
راسلنا على ample@himacode.com. وإذا كان شيء لا يعمل، نفّذ ample doctor و ample check وأرسل لنا ما يظهر.